package multipowny.ssrr;

public class Street extends Square {

	//int streetID; //totdat arraylist werkt// heb de ID weggehaald.... zie main
	String set;
	int buyPrice;
	int buyHousePrice;
	int priceBase;
	int priceWholeSet;
	int priceHouse1;
	int priceHouse2;
	int priceHouse3;
	int priceHouse4;
	int priceHotel;
	int mortgagePrice;
	Player owner;
	int squareID;
	
	// hier beneden de id uit gehaald
	public Street(String theName, String theSet, int theBuyPrice, int theBuyHousePrice, int thePriceBase, int thePriceWholeSet, int thePriceHouse1, int thePriceHouse2, int thePriceHouse3, int thePriceHouse4, int thePriceHotel, int theMortgagePrice, int theSquareID){
		super();
		//streetID = theStreetID;
		name= theName;
		set = theSet;
		buyPrice = theBuyPrice;
		buyHousePrice = theBuyHousePrice;
		priceBase = thePriceBase;
		priceWholeSet = thePriceWholeSet;
		priceHouse1 = thePriceHouse1;
		priceHouse2 = thePriceHouse2;
		priceHouse3 = thePriceHouse3;
		priceHouse4 = thePriceHouse4;
		priceHotel = thePriceHotel;
		mortgagePrice = theMortgagePrice;
		squareID = theSquareID;
	}

	//hier beneden bij de String toString wat ingevuld... leek me handig ;) en de id weggehaald

	public String toString(String theName, String theSet, int theBuyPrice, int theBuyHousePrice, int thePriceUnbuild, int thePriceWholeSet, int thePriceHouse1, int thePriceHouse2, int thePriceHouse3, int thePriceHouse4, int thePriceHotel, int theMortgagePrice) {
		return name + "-" + set + "-" + buyPrice + "-" + buyHousePrice + "-" + priceBase + "-" + priceWholeSet + "-" + priceHouse1 + "-" + priceHouse2 + "-" + priceHouse3 + "-" +  priceHouse4 + "-" + priceHotel + "-" + mortgagePrice;
	}

	//set eigenaar
	public void setOwner(Player theOwner) {
		owner = theOwner;
	}
	
	//alle getters	
	public String getSet() {
		return set;
	}

	public int getBuyPrice() {
		return buyPrice;
	}

	public int getBuyHousePrice() {
		return buyHousePrice;
	}

	public int getPriceBase() {
		return priceBase;
	}

	public int getPriceWholeSet() {
		return priceWholeSet;
	}

	public int getPriceHouse1() {
		return priceHouse1;
	}

	public int getPriceHouse2() {
		return priceHouse2;
	}

	public int getPriceHouse3() {
		return priceHouse3;
	}

	public int getPriceHouse4() {
		return priceHouse4;
	}

	public int getPriceHotel() {
		return priceHotel;
	}

	public int getMortgagePrice() {
		return mortgagePrice;
	}
	
	
}